<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="utf-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>request对象的用法</title>
</head>
<body>
<% out.print(((String)session.getAttribute("username")) +"，欢迎你！");  %>
<form action="result.jsp" method="post">
    <table>
        <tr>
            <td>
                请输入内容：
            </td>
            <td><input type="text" name="param"/></td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" value="确定"/>
            </td>
        </tr>
    </table>
</form>
</body>
</html>
